<template>
    <h2>word template</h2>

    word_id:{{$route.params.id}}
    <br>
    <h1>{{pageid}}</h1>
</template>

<script>
    export default {
        name: "MyPage",
        computed: {
            pageid() {
                return this.$route.params.id;
            },
            /*
                        pageid {
                            get(){

                            }
                        }
            */
        },
        created() {
            // document.title = "this is user";
            console.log('mypage is created');
        },
        unmounted() {
            console.log('mypage is unmounted');
        },
        activated() {
            console.log('user is activated');
        },
        deactivated() {
            console.log('user is deactivated');
        }
    }
</script>

<style scoped>

</style>